home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir38 / vga_doc2.zip / S3.TXT < prev    next >
Text File  |  1993-01-22  |  3KB  |  92 lines

  1.   S3  86c911  -  1Mbyte, 1280x1024x16c, 1024x768x256c, 640x480x32kc
  2.          Hardwired Bit-Blt and fill functions. 
  3.  
  4.   S3  86c924  -  Support for 24-bit modes.
  5.   S3  86c928  -  24bit color, 4MB D/VRAM 
  6.   S3  86c801  -  similar to '928 ??
  7.   S3  86c805  -  same as '801 but for Local Bus
  8.  
  9.  
  10.   The S3 chip only works in AT and better units as it uses full
  11.   16 bit I/O addresses.
  12.  
  13.   The S3 uses the following I/O addresses:
  14.      42E8h, 4AE8h, 82E8h, 86E8h, 8AE8h, 8EE8h, 92E8h, 96E8h, 9AE8h, 9EE8h
  15.  
  16.   Please note that this may conflict with Com4 ports at 2E8h-2EFh !!!
  17.  
  18.  
  19.   3d4h index 30h (R/W): ID register
  20.   bit 0-7  Returns 81h or 82h when read.
  21.  
  22.   3d4h index 31h (R/W): Display Start
  23.   bit 0,3  Set before writing bank register???
  24.       4-5  Bit 16-17 of the Display Start Address.
  25.  
  26.   3d4h index 35h (R/W): Bank number
  27.   bit 0-3  64k bank number.
  28.  
  29.   3d4h index 38h (R/W): Extensions Enable
  30.   bit 0-7  Writing 48h to this register enables the extended registers,
  31.        writing 0 disables them.
  32.  
  33.   3d4h index 39h (R/W): Extensions Enable 2
  34.   bit 0-7  Write A5h to this register to unlock extensions.
  35.  
  36.   3d4h index 41h (R/W): Memory
  37.   bit   4  Set if we have 1MByte, clear if we have 512KBytes.
  38.  
  39.  
  40.   3d4h index 30h-3Ch and 40h-4Fh are used.
  41.  
  42.  
  43.   82E8h (16) (R/W): CUR_Y
  44.   86E8h (16) (R/W): CUR_X
  45.   8AE8h (16) (R/W): DIAGY_STEP
  46.   8EE8h (16) (R/W): DIAGX_STEP
  47.   92E8h (16) (R/W): ERR_TERM
  48.   96E8h (16) (R/W): MAJ_AXIS/CURWIDTH
  49.   9AE8h (16) (W): CMD_REG
  50.   9AE8h (16) (R): GP_STAT
  51.   bit    8  Set when data is ready from the co-processor.
  52.  
  53.   A2E8h (16) (R/W): BKGD_COLOR
  54.   A6E8h (16) (R/W): FRGD_COLOR
  55.   AAE8h (16) (R/W): WRT_MASK
  56.   B2E8h (16) (R/W): COLOR_CMP
  57.   B6E8h (16) (R/W): BKGD_MIX
  58.   BAE8h (16) (R/W): FRGD_MIX
  59.   BEE8h (16) (R/W): MULTIFUNC_CNTL
  60.   E2E8h (16) (R/W): PIX_TRANS
  61.  
  62.  
  63.   ID S3 chip:
  64.  
  65.   wrinx(base,$38,0);    {disable extensions}
  66.   if not testinx2(base,$35,$f) then
  67.   begin
  68.     wrinx(base,$38,$48);
  69.     if testinx2(base,$35,$f) then
  70.     begin
  71.       __S3__
  72.       case rdinx(base,$30) of
  73.        $81:86c911               {Is this really a version no??}
  74.        $82:86c911A ??
  75.       end;
  76.     end;
  77.   end;
  78.  
  79.  
  80.   Video Modes (Diamond Stealth):
  81.        VESA:
  82.   54h        T  132   43   16
  83.   55h        T  132   25   16  
  84.        101h  G  640  480  256  packed  
  85.   6Ah  102h  G  800  600   16  planar
  86.        103h  G  800  600  256  packed
  87.        104h  G 1024  768   16  planar
  88.        205h  G 1024  768  256  packed
  89.        206h  G 1280  960   16  planar
  90.        208h  G 1280 1024   16  planar
  91.        301h  G  640  480   32k word packed
  92.